import { ColumnProps } from "ant-design-vue/types/table/column";

const columns: ColumnProps<any>[] = [
    {
        title: "苹果账号",
        dataIndex: "name",
        align: "center",
        ellipsis: true
    },
    {
        title: "总绑定数量",
        align: "center",
        dataIndex: "totalnum",
    },
    {
        title: "剩余可用数量",
        align: "center",
        dataIndex: "remaining",
        slots: { customRender: "remaining" },
    },
    {
        title: "已绑定数量",
        align: "center",
        dataIndex: "cernum",

    },
    {
        title: "添加时间",
        align: "center",
        dataIndex: "time",
        slots: { customRender: "time" },
    },
    {
        title: "初始化账号",
        align: "center",
        dataIndex: "loginstatus",
        slots: { customRender: "loginstatus" },
    },
    {
        title: "状态",
        align: "center",
        dataIndex: "status",
        slots: { customRender: "status" },
    },
    {
        title: "操作",
        align: "center",
        dataIndex: "operating",
        width:250,
        slots: { customRender: "operating" },
    },
];

export default columns